﻿#ifndef INFOCHANGE_H
#define INFOCHANGE_H

#include <QWidget>
#include <QComboBox>
#include <dbHelper.h>
#include <QDebug>
#include <QPushButton>
#include <QHBoxLayout>
#include <QSqlQuery>
#include <QMessageBox>

namespace Ui {
class infoChange;
}

class infoChange : public QWidget
{
    Q_OBJECT

public:
    explicit infoChange(QWidget *parent = 0);
    ~infoChange();
    Ui::infoChange *ui;
private slots:
    void on_comboBox_currentTextChanged(const QString &arg1);
    void add_clicked();
    void set_clicked();
    void del_clicked();

    void on_tableWidget_cellChanged(int row, int column);

    void on_pushButton_clicked();

private:
    void showEvent(QShowEvent *event) override;
    void refTableData();
};

#endif // INFOCHANGE_H
